﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Left.aspx.cs" Inherits="admin_frame_Left" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
    <link href="../css/Left.css" rel="stylesheet" type="text/css" />
    <script src="../../plug/datepicker/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(
            function() {
		        $("#wrap p").click(
		            function(){
		                HideAll();
		                $(this).next("ul").css("display","block");
		            }
		        );
	        }
        );
        function HideAll(){
            $("#wrap ul").each(
	            function(){
	                $(this).css("display","none");
	            }
		    );
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="wrap">
        <asp:Repeater ID="Repeater1" runat="server" 
            onitemdatabound="Repeater1_ItemDataBound">
            <ItemTemplate>
                <div>
                    <p><%#Eval("Name") %></p>
                    <ul>
                        <asp:Repeater ID="Repeater2" runat="server">
                            <ItemTemplate>
                                <li><a href="<%#Eval("URL") %>" target="mainFrame"><span></span><%#Eval("Name") %></a></li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
    </form>
</body>
</html>
